package cn.edu.scau.cmi.chenmiaopeng.factory.simpleFactory;

public  class MeatFactory {
    public static Meat getMeatProduct(String option) {
    	Meat meat = null;
    	if(option.equals("Pork")) {
    		meat = new Pork();
    	}
    	else if(option.equals("Chicken")) {
    		meat = new Chicken();
    	}
    	else {
    		meat = new Beef();
    	}
    	return meat;
    }
}
